# stateID attribute - 2 states plus Error

The stateID attribute - 2 states plus Error identifies the state whose attributes are defined in the state element. The stateId attribute is the first attribute in the state element.

The momentaryButton, maintainedButton, and latchedButton graphic object elements contain this attribute.

FactoryTalk View equivalent: State

## See also

stateID attribute syntax - 2 states plus Error

Push button objects: maintainedButton object